ImageGear PDF v25.2 - Updated
ChangeChannelDepths(ImGearRasterPage,Int32[]) Method
Example 




ImageGear.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > ChangeChannelDepths Method : ChangeChannelDepths(ImGearRasterPage,Int32[]) Method
Page to process.
Array containing new channels depths.
Changes bit depths of image channels.
Syntax
'Declaration
 
Public Overloads Shared Sub ChangeChannelDepths( _
   ByVal page As ImGearRasterPage, _
   ByVal newChannelDepths() As Integer _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim newChannelDepths() As Integer
 
ImGearRasterProcessing.ChangeChannelDepths(page, newChannelDepths)
public static void ChangeChannelDepths( 
   ImGearRasterPage page,
   int[] newChannelDepths
)
public: static void ChangeChannelDepths( 
   ImGearRasterPage* page,
   int[]* newChannelDepths
) 
public:
static void ChangeChannelDepths( 
   ImGearRasterPage^ page,
   array<int>^ newChannelDepths
) 

Parameters

page
Page to process.
newChannelDepths
Array containing new channels depths.
Example
// Change the channel depths of 3 channel image to 3,3,2
ImGearRasterProcessing.ChangeChannelDepths(igRasterPage, new int[] { 3, 3, 2 });
' Change the channel depths of 3 channel image to 3,3,2
ImGearRasterProcessing.ChangeChannelDepths(igRasterPage, New Integer() {3, 3, 2})
See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
Overload List
ImGearRasterPage Class

Is this page helpful?
Yes No
Thanks for your feedback.